<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>老年人信息</h5>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                    v-on:click="_goBack()">返回
                </button>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">老人ID：</label>
                            <label class="">{{viewGovOldPersonInfo.oldId}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">姓名：</label>
                            <label class="">{{viewGovOldPersonInfo.personName}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">养老院：</label>
                            <label class="">{{viewGovOldPersonInfo.communityName}}</label>
                        </div>
                    </div>
                </div>
                <div class="row">

                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">电话：</label>
                            <label class="">{{viewGovOldPersonInfo.personTel}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">年龄：</label>
                            <label class="">{{viewGovOldPersonInfo.personAge}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">家人联系人：</label>
                            <label class="">{{viewGovOldPersonInfo.contactPerson}}</label>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">家人联系电话：</label>
                            <label class="">{{viewGovOldPersonInfo.contactTel}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">服务人：</label>
                            <label class="">{{viewGovOldPersonInfo.servPerson}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">服务人电话：</label>
                            <label class="">{{viewGovOldPersonInfo.servTel}}</label>
                        </div>
                    </div>
                </div>
                <div class="row">

                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">备注：</label>
                            <label class="">{{viewGovOldPersonInfo.ramark}}</label>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-lg-12">
        <div class="ibox">
            <div class="ibox-title">
                <h5>体检项目</h5>
            </div>
            <div class="ibox-content">

                <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                    <thead>
                        <tr>
                            <th class="text-center">体检记录ID</th>
                            <th class="text-center">体检项目</th>
                            <th class="text-center">体检人</th>
                            <th class="text-center">体检时间</th>
                            <th class="text-center">操作</th>


                        </tr>
                    </thead>
                    <tbody>
                        <tr v-for="govPersonsAnswer in govPersonsAnswers">
                            <td class="text-center">{{govPersonsAnswer.healthPersonId}}</td>
                            <td class="text-center">{{govPersonsAnswer.healthName}}</td>
                            <td class="text-center">{{govPersonsAnswer.personName}}</td>
                            <td class="text-center">{{govPersonsAnswer.createTime}}</td>
                            <td class="text-center">
                                <div class="btn-group">
                                    <button class="btn-white btn btn-xs"
                                        v-on:click="_toViewAnswerTitle(govPersonsAnswer)">体检详情</button>
                                </div>

                            </td>

                        </tr>
                    </tbody>
                </table>
                <!-- 分页 -->
                <vc:create namespace="govPersons" path="frame/paginationPlus"></vc:create>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>查询条件</h5>
                <div class="ibox-tools" style="top:10px;">

                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <!-- <div class="col-sm-4">
                        <select class="custom-select" v-model="govOldAccountDetail.conditions.detailType">
                            <option selected value="">请选择明细类型</option>
                            <option value="1001">转入</option>
                            <option value="2002">转出</option>
                        </select>
                    </div> -->
                    <div class="col-sm-3">
                        <div class="form-group">
                            <input type="text" placeholder="请输入交易编号" v-model="govOldAccountDetail.conditions.orderId"
                                class=" form-control">
                        </div>
                    </div>
                    <div class="col-sm-1">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryAccountDetailMethod()">
                            <i class="glyphicon glyphicon-search"></i> 查询
                        </button>
                    </div>
                </div>


            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-lg-12">
        <div class="ibox">
            <div class="ibox-content">
                <div class="row">
                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="col-form-label">账户ID：</label>
                            <label class="">{{govOldAccountDetail.acctId}}</label>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="col-form-label">账户名称：</label>
                            <label class="">{{govOldAccountDetail.acctName}}</label>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="col-form-label">账户余额：</label>
                            <label class="">{{govOldAccountDetail.amount}}</label>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="col-form-label">创建时间：</label>
                            <label class="">{{govOldAccountDetail.createTime}}</label>
                        </div>
                    </div>
                </div>
                          <div class="ibox-title">
                <h5>财务明细</h5>
                <div class="ibox-tools" style="top:10px;">

                </div>
            </div>
                <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                    <thead>
                        <tr>
                            <th class="text-center">明细编号</th>
                            <th class="text-center">交易编号</th>
                            <th class="text-center">账户名称</th>
                            <th class="text-center">明细类型</th>
                            <th class="text-center">金额</th>
                            <th class="text-center">交易时间</th>
                            <th class="text-center">说明</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr v-for="accountDetail in govOldAccountDetail.govOldAccountDetails">
                            <td class="text-center">{{accountDetail.detailId}}</td>
                            <td class="text-center">{{accountDetail.orderId}}</td>
                            <td class="text-center">{{accountDetail.acctName}}</td>
                            <td class="text-center">{{accountDetail.detailType =='1001'?'转入':'转出'}}</td>
                            <td class="text-center">{{accountDetail.amount}}</td>
                            <td class="text-center">{{accountDetail.createTime}}</td>
                            <td class="text-center">{{accountDetail.remark}}</td>
                        </tr>
                    </tbody>
                    <tfoot>
                        <tr>
                            <td colspan="7">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                    </tfoot>
                </table>
                <!-- 分页 -->
                <vc:create namespace="account" path="frame/paginationPlus"></vc:create>
            </div>
        </div>
    </div>
</div>